package pl.kosmowska.ewelina.client.views;

import gwtupload.client.IUploader.OnFinishUploaderHandler;
import gwtupload.client.IUploader.OnStartUploaderHandler;
import gwtupload.client.SingleUploader;

import com.google.gwt.place.shared.Place;
import com.google.gwt.user.client.ui.IsWidget;

public interface BankStatementImportView extends IsWidget {

	interface Presenter {
		void goTo(Place place);

		void goToSignInPlace();

	}

	void setPresenter(Presenter presenter);

	boolean isAlreadyInit();

	void setAlreadyInit(boolean alreadyInit);

	void setFinishUploadHandler(OnFinishUploaderHandler finishUploadHandler);

	void showMessage(String message);

	SingleUploader getUploader();

	void showLoading(boolean ifShow);

	void setStartUploadHandler(OnStartUploaderHandler startUploadHandler);

	void reInitView();

}
